/*
 * @Autor: lh
 * @Date: 2023-09-26 14:26:16
 * @LastEditors: lh
 * @LastEditTime: 2023-10-16 11:59:08
 * @Description:
 */
import { request } from "@/utils/service"

/** 会议记录 列表数据 */
export function overseerMeetRecord(data: any) {
  return request({
    url: "/overseerMeetRecord/selectAll",
    method: "post",
    data
  })
}
/** 会议记录 新增或者更新数据 注意主键ID为空新增数据，反之则更新 */
export function insertOrUpdate(data: any) {
  return request({
    url: "/overseerMeetRecord/insertOrUpdate",
    method: "post",
    data
  })
}
/** 会议记录 删除数据 */
export function deleteByIds(data: any) {
  return request({
    url: "/overseerMeetRecord/deleteByIds",
    method: "post",
    data
  })
}

/** 会议记录 导出会议纪要记录 */
export function exportData(data: any) {
  return request({
    url: "/overseerMeetRecord/export",
    method: "get",
    data
  })
}

/** 关联人填写反馈进度 */
export function relevanceUserAdd(data: any) {
  return request({
    url: "/meetActionItemLedger/relevanceUserAdd",
    method: "post",
    data
  })
}

/** 负责人验证成功-关闭申请 */
export function directorVerifyFinish(id: any) {
  return request({
    url: `/meetActionItemLedger/directorVerifyFinish/${id}`,
    method: "get"
  })
}

/** 提出人验证成功-关闭代办任务 */
export function createUserVerifyFinish(id: any, realityFinishTime: string) {
  return request({
    url: `/meetActionItemLedger/createUserVerifyFinish/${id}/${realityFinishTime}`,
    method: "get"
  })
}
